package com.briup.day07.bean;

public class Phone {
    public String branch;
    public double price;

    public void call() {
        System.out.println("打电话");
    }

    public void sendMessage( String name,String msg) {
        System.out.println("给" + name + "发短信说" + msg);
    }

    public void show() {
        System.out.println("手机品牌: " + branch);
        System.out.println("手机价格: " + price);
    }
}
